package Models;

import java.util.List;

public class POSTab {
    private int id;
    private boolean closedTab;
    private boolean openEnded;
    private String tabName;
    private double totalRemaining;
    private double totalUsed;
    private List<POSSaleTab> saleTabItems;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public boolean isClosedTab() {
        return closedTab;
    }

    public void setClosedTab(boolean closedTab) {
        this.closedTab = closedTab;
    }

    public boolean isOpenEnded() {
        return openEnded;
    }

    public void setOpenEnded(boolean openEnded) {
        this.openEnded = openEnded;
    }

    public String getTabName() {
        return tabName;
    }

    public void setTabName(String tabName) {
        this.tabName = tabName;
    }

    public double getTotalRemaining() {
        return totalRemaining;
    }

    public void setTotalRemaining(double totalRemaining) {
        this.totalRemaining = totalRemaining;
    }

    public double getTotalUsed() {
        return totalUsed;
    }

    public void setTotalUsed(double totalUsed) {
        this.totalUsed = totalUsed;
    }

    public List<POSSaleTab> getSaleTabItems() {
        return saleTabItems;
    }

    public void setSaleTabItems(List<POSSaleTab> saleTabItems) {
        this.saleTabItems = saleTabItems;
    }
    
    public String getDisplayString(){
        return Integer.toString(this.id) + " - " + this.tabName;
    }
}
